# coding: utf-8

from jdcloud_apim_sdk.core.credential import Credential
from jdcloud_apim_sdk.core.config import Config
from jdcloud_apim_sdk.core.const import SCHEME_HTTPS, SCHEME_HTTP
from client.hufuDatacubeService_client import *
from apis.crowd_status_using_get_request import *
from apis.category_third_list_using_get_request import *
from apis.region_main_industry_page_post_request import *
from apis.resumption_city_page_post_request import *
from apis.tag_list_using_get_request import *
from apis.crowd_concentration_using_post_request import *
from apis.id_mapping_using_post_request import *
from apis.model_analysis_post_request import *
from apis.company_area_post_request import *
from apis.poi_create_crowd_using_post_request import *
from apis.poi_portrait_syn_using_post_request import *
from apis.usable_package_using_post_request import *
from apis.upload_package_using_post_request import *
from apis.poi_heat_syn_using_post_request import *
from apis.poi_heat_city_syn_using_post_request import *
from apis.model_status_using_get_request import *
from apis.crowd_match_rate_using_post_request import *
from apis.evaluation_upload_log_using_post_request import *
from apis.scene_list_get_request import *
from apis.company_phone_post_request import *
from apis.model_status_batch_post_request import *
from apis.scene_register_post_request import *
from apis.evaluation_shop_category_result_using_post_request import *
from apis.shopinsight_topn_result_using_post_request import *
from apis.evaluation_shop_sku_result_using_post_request import *
from apis.finance_score_batch_using_post_request import *
from apis.task_result_using_get_request import *
from apis.shopinsight_task_using_post_request import *
from apis.crowd_calculate_using_post_request import *
from apis.evaluation_task_status_using_get_request import *
from apis.sku_recommend_using_get_request import *
from apis.crowd_number_using_get_request import *
from apis.crowd_estimate_post_request import *
from apis.task_status_using_get_request import *
from apis.transform_batch_using_post_request import *
from apis.finance_radar_model_train_using_post_request import *
from apis.evaluation_start_task_using_post_request import *
from apis.poi_portrail_region_syn_using_post_request import *
from apis.lookalike_using_post_request import *
from apis.crowd_insight_post_request import *
from apis.crowd_insight_result_post_request import *
from apis.user_score_post_request import *
from apis.model_transform_using_post_request import *
from apis.crowd_package_using_post_request import *
from apis.evaluation_shop_result_using_post_request import *
from apis.company_post_request import *
from apis.company_detail_post_request import *
from apis.region_ec_industry_page_post_request import *
from apis.shopinsight_enum_result_using_post_request import *
from apis.model_crowd_post_request import *
from apis.crowd_detail_post_request import *
from apis.category_tree_list_using_get_request import *
from apis.reach_black_dragon_using_post_request import *
from apis.evaluation_type_task_using_post_request import *
from apis.evaluation_job_status_using_get_request import *
from apis.group_portray_using_post_request import *
from apis.crowd_screen_using_post_request import *
from apis.region_resumption_city_page_post_request import *
from apis.finance_score_using_get_request import *
from apis.effect_evaluation_using_post_request import *
from apis.reach_status_using_get_request import *
from apis.resumption_perf_page_post_request import *
from apis.resumption_industry_page_post_request import *
from apis.evaluation_shop_brand_result_using_post_request import *
from apis.algorithm_register_post_request import *
from apis.algorithm_list_get_request import *
from apis.model_train_post_request import *
from apis.model_detail_post_request import *
from apis.model_list_get_request import *

if __name__ == "__main__":
    access_key = '80B4124AB0B815167500170D29CFF6CC'
    secret_key = 'D5CC02E43D3D07C75B41B182D3F1F8C2'
    credential = Credential(access_key, secret_key)
    config = Config('wmgcbqyoxdsi-test.cn-north-1.jdcloud-api.net', scheme=SCHEME_HTTPS) # 测试环境地址
    # config = Config('wmgcbqyoxdsi-preview.cn-north-1.jdcloud-api.net', scheme=SCHEME_HTTPS) # 预发环境地址
    # config = Config('wmgcbqyoxdsi.cn-north-1.jdcloud-api.net', scheme=SCHEME_HTTPS)  # 线上环境地址
    client = HufuDatacubeServiceClient(credential, config)

    parameters = dict()
    body = ''
    header = dict()

    parameters = {
        "user_pin": "ecop-182"
    }
    header = dict()
    body = {
        'md5_mobile':'2a53e579c72a37a2',
        'apply_time':'2019-9-28'
    }

    user_score_post_request = UserScorePostRequest(parameters, body, header)
    UserScorePost_response = client.send(user_score_post_request)
    print(UserScorePost_response.json())

    # crowd_status_using_get_request = CrowdStatusUsingGetRequest(parameters, body, header)
    # CrowdStatusUsingGet_response = client.send(crowd_status_using_get_request)
    #
    # category_third_list_using_get_request = CategoryThirdListUsingGetRequest(parameters, body, header)
    # CategoryThirdListUsingGet_response = client.send(category_third_list_using_get_request)
    #
    # region_main_industry_page_post_request = RegionMainIndustryPagePostRequest(parameters, body, header)
    # RegionMainIndustryPagePost_response = client.send(region_main_industry_page_post_request)
    #
    # resumption_city_page_post_request = ResumptionCityPagePostRequest(parameters, body, header)
    # ResumptionCityPagePost_response = client.send(resumption_city_page_post_request)
    #
    # tag_list_using_get_request = TagListUsingGetRequest(parameters, body, header)
    # TagListUsingGet_response = client.send(tag_list_using_get_request)
    #
    # crowd_concentration_using_post_request = CrowdConcentrationUsingPostRequest(parameters, body, header)
    # CrowdConcentrationUsingPost_response = client.send(crowd_concentration_using_post_request)
    #
    # id_mapping_using_post_request = IdMappingUsingPostRequest(parameters, body, header)
    # IdMappingUsingPost_response = client.send(id_mapping_using_post_request)
    #
    # model_analysis_post_request = ModelAnalysisPostRequest(parameters, body, header)
    # ModelAnalysisPost_response = client.send(model_analysis_post_request)
    #
    # company_area_post_request = CompanyAreaPostRequest(parameters, body, header)
    # CompanyAreaPost_response = client.send(company_area_post_request)
    #
    # poi_create_crowd_using_post_request = PoiCreateCrowdUsingPostRequest(parameters, body, header)
    # PoiCreateCrowdUsingPost_response = client.send(poi_create_crowd_using_post_request)
    #
    # poi_portrait_syn_using_post_request = PoiPortraitSynUsingPostRequest(parameters, body, header)
    # PoiPortraitSynUsingPost_response = client.send(poi_portrait_syn_using_post_request)
    #
    # usable_package_using_post_request = UsablePackageUsingPostRequest(parameters, body, header)
    # UsablePackageUsingPost_response = client.send(usable_package_using_post_request)
    #
    # upload_package_using_post_request = UploadPackageUsingPostRequest(parameters, body, header)
    # UploadPackageUsingPost_response = client.send(upload_package_using_post_request)
    #
    # poi_heat_syn_using_post_request = PoiHeatSynUsingPostRequest(parameters, body, header)
    # PoiHeatSynUsingPost_response = client.send(poi_heat_syn_using_post_request)
    #
    # poi_heat_city_syn_using_post_request = PoiHeatCitySynUsingPostRequest(parameters, body, header)
    # PoiHeatCitySynUsingPost_response = client.send(poi_heat_city_syn_using_post_request)
    #
    # model_status_using_get_request = ModelStatusUsingGetRequest(parameters, body, header)
    # ModelStatusUsingGet_response = client.send(model_status_using_get_request)
    #
    # crowd_match_rate_using_post_request = CrowdMatchRateUsingPostRequest(parameters, body, header)
    # CrowdMatchRateUsingPost_response = client.send(crowd_match_rate_using_post_request)
    #
    # evaluation_upload_log_using_post_request = EvaluationUploadLogUsingPostRequest(parameters, body, header)
    # EvaluationUploadLogUsingPost_response = client.send(evaluation_upload_log_using_post_request)
    #
    # scene_list_get_request = SceneListGetRequest(parameters, body, header)
    # SceneListGet_response = client.send(scene_list_get_request)
    #
    # company_phone_post_request = CompanyPhonePostRequest(parameters, body, header)
    # CompanyPhonePost_response = client.send(company_phone_post_request)
    #
    # model_status_batch_post_request = ModelStatusBatchPostRequest(parameters, body, header)
    # ModelStatusBatchPost_response = client.send(model_status_batch_post_request)
    #
    # scene_register_post_request = SceneRegisterPostRequest(parameters, body, header)
    # SceneRegisterPost_response = client.send(scene_register_post_request)
    #
    # evaluation_shop_category_result_using_post_request = EvaluationShopCategoryResultUsingPostRequest(parameters, body,
    #                                                                                                   header)
    # EvaluationShopCategoryResultUsingPost_response = client.send(evaluation_shop_category_result_using_post_request)
    #
    # shopinsight_topn_result_using_post_request = ShopinsightTopnResultUsingPostRequest(parameters, body, header)
    # ShopinsightTopnResultUsingPost_response = client.send(shopinsight_topn_result_using_post_request)
    #
    # evaluation_shop_sku_result_using_post_request = EvaluationShopSkuResultUsingPostRequest(parameters, body, header)
    # EvaluationShopSkuResultUsingPost_response = client.send(evaluation_shop_sku_result_using_post_request)
    #
    # finance_score_batch_using_post_request = FinanceScoreBatchUsingPostRequest(parameters, body, header)
    # FinanceScoreBatchUsingPost_response = client.send(finance_score_batch_using_post_request)
    #
    # task_result_using_get_request = TaskResultUsingGetRequest(parameters, body, header)
    # TaskResultUsingGet_response = client.send(task_result_using_get_request)
    #
    # shopinsight_task_using_post_request = ShopinsightTaskUsingPostRequest(parameters, body, header)
    # ShopinsightTaskUsingPost_response = client.send(shopinsight_task_using_post_request)
    #
    # crowd_calculate_using_post_request = CrowdCalculateUsingPostRequest(parameters, body, header)
    # CrowdCalculateUsingPost_response = client.send(crowd_calculate_using_post_request)
    #
    # evaluation_task_status_using_get_request = EvaluationTaskStatusUsingGetRequest(parameters, body, header)
    # EvaluationTaskStatusUsingGet_response = client.send(evaluation_task_status_using_get_request)
    #
    # sku_recommend_using_get_request = SkuRecommendUsingGetRequest(parameters, body, header)
    # SkuRecommendUsingGet_response = client.send(sku_recommend_using_get_request)
    #
    # crowd_number_using_get_request = CrowdNumberUsingGetRequest(parameters, body, header)
    # CrowdNumberUsingGet_response = client.send(crowd_number_using_get_request)
    #
    # crowd_estimate_post_request = CrowdEstimatePostRequest(parameters, body, header)
    # CrowdEstimatePost_response = client.send(crowd_estimate_post_request)
    #
    # task_status_using_get_request = TaskStatusUsingGetRequest(parameters, body, header)
    # TaskStatusUsingGet_response = client.send(task_status_using_get_request)
    #
    # transform_batch_using_post_request = TransformBatchUsingPostRequest(parameters, body, header)
    # TransformBatchUsingPost_response = client.send(transform_batch_using_post_request)
    #
    # finance_radar_model_train_using_post_request = FinanceRadarModelTrainUsingPostRequest(parameters, body, header)
    # FinanceRadarModelTrainUsingPost_response = client.send(finance_radar_model_train_using_post_request)
    #
    # evaluation_start_task_using_post_request = EvaluationStartTaskUsingPostRequest(parameters, body, header)
    # EvaluationStartTaskUsingPost_response = client.send(evaluation_start_task_using_post_request)
    #
    # poi_portrail_region_syn_using_post_request = PoiPortrailRegionSynUsingPostRequest(parameters, body, header)
    # PoiPortrailRegionSynUsingPost_response = client.send(poi_portrail_region_syn_using_post_request)
    #
    # lookalike_using_post_request = LookalikeUsingPostRequest(parameters, body, header)
    # LookalikeUsingPost_response = client.send(lookalike_using_post_request)
    #
    # crowd_insight_post_request = CrowdInsightPostRequest(parameters, body, header)
    # CrowdInsightPost_response = client.send(crowd_insight_post_request)
    #
    # crowd_insight_result_post_request = CrowdInsightResultPostRequest(parameters, body, header)
    # CrowdInsightResultPost_response = client.send(crowd_insight_result_post_request)



    # model_transform_using_post_request = ModelTransformUsingPostRequest(parameters, body, header)
    # ModelTransformUsingPost_response = client.send(model_transform_using_post_request)
    #
    # crowd_package_using_post_request = CrowdPackageUsingPostRequest(parameters, body, header)
    # CrowdPackageUsingPost_response = client.send(crowd_package_using_post_request)
    #
    # evaluation_shop_result_using_post_request = EvaluationShopResultUsingPostRequest(parameters, body, header)
    # EvaluationShopResultUsingPost_response = client.send(evaluation_shop_result_using_post_request)
    #
    # company_post_request = CompanyPostRequest(parameters, body, header)
    # CompanyPost_response = client.send(company_post_request)
    #
    # company_detail_post_request = CompanyDetailPostRequest(parameters, body, header)
    # CompanyDetailPost_response = client.send(company_detail_post_request)
    #
    # region_ec_industry_page_post_request = RegionEcIndustryPagePostRequest(parameters, body, header)
    # RegionEcIndustryPagePost_response = client.send(region_ec_industry_page_post_request)
    #
    # shopinsight_enum_result_using_post_request = ShopinsightEnumResultUsingPostRequest(parameters, body, header)
    # ShopinsightEnumResultUsingPost_response = client.send(shopinsight_enum_result_using_post_request)
    #
    # model_crowd_post_request = ModelCrowdPostRequest(parameters, body, header)
    # ModelCrowdPost_response = client.send(model_crowd_post_request)
    #
    # crowd_detail_post_request = CrowdDetailPostRequest(parameters, body, header)
    # CrowdDetailPost_response = client.send(crowd_detail_post_request)
    #
    # category_tree_list_using_get_request = CategoryTreeListUsingGetRequest(parameters, body, header)
    # CategoryTreeListUsingGet_response = client.send(category_tree_list_using_get_request)
    #
    # reach_black_dragon_using_post_request = ReachBlackDragonUsingPostRequest(parameters, body, header)
    # ReachBlackDragonUsingPost_response = client.send(reach_black_dragon_using_post_request)
    #
    # evaluation_type_task_using_post_request = EvaluationTypeTaskUsingPostRequest(parameters, body, header)
    # EvaluationTypeTaskUsingPost_response = client.send(evaluation_type_task_using_post_request)
    #
    # evaluation_job_status_using_get_request = EvaluationJobStatusUsingGetRequest(parameters, body, header)
    # EvaluationJobStatusUsingGet_response = client.send(evaluation_job_status_using_get_request)
    #
    # group_portray_using_post_request = GroupPortrayUsingPostRequest(parameters, body, header)
    # GroupPortrayUsingPost_response = client.send(group_portray_using_post_request)
    #
    # crowd_screen_using_post_request = CrowdScreenUsingPostRequest(parameters, body, header)
    # CrowdScreenUsingPost_response = client.send(crowd_screen_using_post_request)
    #
    # region_resumption_city_page_post_request = RegionResumptionCityPagePostRequest(parameters, body, header)
    # RegionResumptionCityPagePost_response = client.send(region_resumption_city_page_post_request)
    #
    # finance_score_using_get_request = FinanceScoreUsingGetRequest(parameters, body, header)
    # FinanceScoreUsingGet_response = client.send(finance_score_using_get_request)
    #
    # effect_evaluation_using_post_request = EffectEvaluationUsingPostRequest(parameters, body, header)
    # EffectEvaluationUsingPost_response = client.send(effect_evaluation_using_post_request)
    #
    # reach_status_using_get_request = ReachStatusUsingGetRequest(parameters, body, header)
    # ReachStatusUsingGet_response = client.send(reach_status_using_get_request)
    #
    # resumption_perf_page_post_request = ResumptionPerfPagePostRequest(parameters, body, header)
    # ResumptionPerfPagePost_response = client.send(resumption_perf_page_post_request)
    #
    # resumption_industry_page_post_request = ResumptionIndustryPagePostRequest(parameters, body, header)
    # ResumptionIndustryPagePost_response = client.send(resumption_industry_page_post_request)
    #
    # evaluation_shop_brand_result_using_post_request = EvaluationShopBrandResultUsingPostRequest(parameters, body,
    #                                                                                             header)
    # EvaluationShopBrandResultUsingPost_response = client.send(evaluation_shop_brand_result_using_post_request)
    #
    # algorithm_register_post_request = AlgorithmRegisterPostRequest(parameters, body, header)
    # AlgorithmRegisterPost_response = client.send(algorithm_register_post_request)
    #
    # algorithm_list_get_request = AlgorithmListGetRequest(parameters, body, header)
    # AlgorithmListGet_response = client.send(algorithm_list_get_request)
    #
    # model_train_post_request = ModelTrainPostRequest(parameters, body, header)
    # ModelTrainPost_response = client.send(model_train_post_request)
    #
    # model_detail_post_request = ModelDetailPostRequest(parameters, body, header)
    # ModelDetailPost_response = client.send(model_detail_post_request)
    #
    # model_list_get_request = ModelListGetRequest(parameters, body, header)
    # ModelListGet_response = client.send(model_list_get_request)




